package com.beaven.model.model.api.account;

/**
 * author: Beaven
 * time: 2017/5/24 10:25
 */

public class UpdatePwdModel {

  private String oldPassword;

  private String newPassword;

  public UpdatePwdModel(String oldPassword, String newPassword) {
    this.oldPassword = oldPassword;
    this.newPassword = newPassword;
  }

  public String getOldPassword() {
    return oldPassword;
  }

  public void setOldPassword(String oldPassword) {
    this.oldPassword = oldPassword;
  }

  public String getNewPassword() {
    return newPassword;
  }

  public void setNewPassword(String newPassword) {
    this.newPassword = newPassword;
  }

  @Override public String toString() {
    return "UpdatePwdModel{"
        + "oldPassword='"
        + oldPassword
        + '\''
        + ", newPassword='"
        + newPassword
        + '\''
        + '}';
  }
}
